package ienum;

/**
 * @author cuihao
 * @date 2017/12/19
 */
public class EnmuTest {

    public static void main(String[] args) {
        User user = new User();
        user.setPhone(123234);
        user.setAddress("日照市");
        user.setTypeUser(TypeUser.ENGINNER);
        user.hashCode();
        System.out.println(user.getTypeUser().getNum());
        System.out.println(user.getTypeUser().getValue());
        System.out.println(user.getTypeUser().getCompany());
    }
}
